package com.hirel.domain.student;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;



@Entity
public class StudentDetailsDTO {

	
	private Integer stdId;
	private String stdName;
	private String stdfatherName;
	private Boolean stdGender;
	private Date stdDob;
	private Double stdContact;
	private String stdEmailid;
	private String stdCourse;
	private String stdBatch;
	private String stdImage;
	private Date stdIssueDate;
	private Date stdValidUntil;
	@Embedded
	private StudentAddress stdAddress;
	
/**	#################################################################################################
	 * Generate Getter Setter of Student ...
	 ##################################################################################################
	*/
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="STD_ID")
	public Integer getStdId() {
		return stdId;
	}
	//@Column(name="STD_NAME",length=100,nullable=false)
	public String getStdName() {
		return stdName;
	}
	@Column(name="STD_FNAME",length=100,nullable=false)
	public String getStdfatherName() {
		return stdfatherName;
	}
	@Column(name="STD_GENDER",nullable=true)
	public Boolean getStdGender() {
		return stdGender;
	}
	@Column(name="STD_DOB",nullable=false)
	public Date getStdDob() {
		return stdDob;
	}
	@Column(name="STD_CONTACT",length=10,nullable=false)
	public Double getStdContact() {
		return stdContact;
	}
	@Column(name="STD_NAME",length=100,nullable=false)
	public String getStdEmailid() {
		return stdEmailid;
	}
	@Column(name="STD_COURSE",nullable=true)
	public String getStdCourse() {
		return stdCourse;
	}
	@Column(name="STD_BATCH",length=20,nullable=false)
	public String getStdBatch() {
		return stdBatch;
	}
	@Column(name="STD_IMAGE")
	public String getStdImage() {
		return stdImage;
	}
	@Column(name="STD_ISSUED",nullable=false)
	public Date getStdIssueDate() {
		return stdIssueDate;
	}
	@Column(name="STD_VALIDD",nullable=false)
	public Date getStdValidUntil() {
		return stdValidUntil;
	}
	
	public StudentAddress getStdAddress() {
		return stdAddress;
	}
	
	
	public void setStdId(Integer stdId) {
		this.stdId = stdId;
	}
	public void setStdName(String stdName) {
		this.stdName = stdName;
	}
	public void setStdfatherName(String stdfatherName) {
		this.stdfatherName = stdfatherName;
	}
	public void setStdGender(Boolean stdGender) {
		this.stdGender = stdGender;
	}
	public void setStdDob(Date stdDob) {
		this.stdDob = stdDob;
	}
	public void setStdContact(Double stdContact) {
		this.stdContact = stdContact;
	}
	public void setStdEmailid(String stdEmailid) {
		this.stdEmailid = stdEmailid;
	}
	public void setStdCourse(String stdCourse) {
		this.stdCourse = stdCourse;
	}
	public void setStdBatch(String stdBatch) {
		this.stdBatch = stdBatch;
	}
	public void setStdImage(String stdImage) {
		this.stdImage = stdImage;
	}
	public void setStdIssueDate(Date stdIssueDate) {
		this.stdIssueDate = stdIssueDate;
	}
	public void setStdValidUntil(Date stdValidUntil) {
		this.stdValidUntil = stdValidUntil;
	}
	
	public void setStdAddress(StudentAddress stdAddress) {
		this.stdAddress = stdAddress;
	}
	

}
